package com.briup.pts.service;

import com.briup.pts.domain.bean.FenceHouse;
import com.briup.pts.domain.vo.FenceHouseVO;
import com.github.pagehelper.PageInfo;
import jakarta.validation.Valid;
import jakarta.validation.constraints.Min;

import java.util.List;

public interface FenceHouseService {


    FenceHouseVO selectByfhId(String fhId);

    void batchDelete(List<String> fhId);

    void saveOrUpdate(@Valid FenceHouse fenceHouse);

    PageInfo<FenceHouse> pageQueryByConditional(@Min(value = 1, message = "当前页码不能小于1") Integer pageNum, @Min(value = 1, message = "页面不能小于1") Integer pageSize, String fhName);
}
